<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<script type="text/javascript" src="scripts/boot.js"></script>
</head>
<body>
	<div style="padding-left:50px;padding-bottom:25px;">
	<form id="form1" method="post">
	<input id="type" name="type" class="mini-hidden" value=""/>
       <div style="padding-left:10px;">
           <table style="table-layout:fixed;" cellspacing="0" cellpadding="8" >
           		<tr>
           		<td style="width:90px;">发送人：</td>
                   <td style="width:180px;"><input name="sendSeatName" class="mini-textbox" readonly="readonly" style="width: 300px"/></td>
               </tr>
               <tr>
               	<td style="width:70px;">添加时间：</td>
               	<td style="width:180px;" ><input name="createTime" class="mini-datepicker" readonly="readonly"  format="yyyy-MM-dd H:mm:ss" showTime="true" style="width: 300px"  /></td>
               </tr>
               <tr>
               	<td style="width:70px;">发送时间：</td>
                   <td style="width:180px;"><input name="sendTime" class="mini-datepicker" format="yyyy-MM-dd H:mm:ss" showTime="true" readonly="readonly" vtype="maxLength:30" style="width: 300px" /></td>
               </tr>
               <tr>
                   <td style="width:70px;">发送状态：</td>
                   <td style="width:180px;"><input id="sendStatus" name="sendStatus" readonly="readonly" class="mini-combobox" valueField="keyName" textField="keyValue"   vtype="maxLength:5" style="width: 200px"/></td>
               </tr>
               <tr>
           		<td style="width:90px;">接收手机号：</td>
                   <td style="width:180px;"><input name="phoneNum" class="mini-textbox" readonly="readonly" style="width: 300px"/></td>
               </tr>
               <tr>
                   <td style="width:120px;">发送内容：</td>
                     <td colspan="3"><input name="content" class="mini-textarea" readonly="readonly" style="width:300px;height: 100px" /></td>
               </tr>
           </table>
        </div>
   	</form>
   	  	<div style="text-align:center;margin-top: 10px">               
           <a class="mini-button" onclick="onCancel" style="width:60px;margin-right:50px;">关闭</a>       
      	</div> 
   	</div>
<script type="text/javascript">
mini.parse();
var form = new mini.Form("#form1");
var id = mini.getbyName("id");

var gtype = mini.get(sendStatus);
gtype.load('dictionary_cm_key_val_view.do?typeName=SMS_STATUS_TYPE');

function SetData(data) {
    if (data.action == "viewDetail") {
        //跨页面传递的数据对象，克隆后才可以安全使用
        data = mini.clone(data);
        form.setData(data.row);
        form.setChanged(false);
    }
}

function GetData() {
    var o = form.getData();
    return o;
}

function CloseWindow(action) {            
    if (window.CloseOwnerWindow) return window.CloseOwnerWindow(action);
    else window.close();            
}

function onCancel(e) {
    CloseWindow("cancel");
}
</script>
</body>
</html>
